$(document).ready(function(){
	msg();
});

//清空内容
function clear_msg(){
	$("#msg-content").empty();
}
function msg(){
	//生成0-5的随机数
	var num = parseInt(Math.random()*(2-0+1)+0,10);;
	
	var content = new Array();
	content[0] = 'JoCry 博客<a href = "https://www.jocry.com" target = "_blank">https://www.jocry.com</a>';
	content[1] = 'Tunai 记录<a href = "https://www.tunai.win" target = "_blank">https://www.tunai.win</a>';
	content[2] = '晓白 图片展<a href = "https://blog.adc.bid" target = "_blank">https://blog.adc.bid</a>';
	$("#msg-content").append(content[num]);
	window.setTimeout("clear_msg()",9800);
	window.setTimeout("msg()",10000);
}